import buttionRender1 from "@/components/aggridCellRenDerer/buttionRender1.vue";
const tableColumns = [
    {
        field: '',
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 50,
        showDisabledCheckboxes: false,
        pinned: 'left',
    },
    {
        headerName: '坯布id',
        field: 'greyId',
        width: 150
    },
    {
        headerName: '坯布编号',
        field: 'greyCode',
        width: 150
    },
    {
        headerName: '坯布名称',
        field: 'greyName',
        width: 150
    },
    {
        headerName: '设备机型',
        field: 'machineType',
        width: 150
    },
    {
        headerName: '颜色',
        field: 'colorName',
        width: 150
    },
    {
        headerName: '织造备注',
        field: 'weavingNote',
        width: 150
    },
    {
        headerName: '洗机天数',
        field: 'washDay',
        width: 150
    },
    {
        headerName: '创建人',
        field: 'createName',
        width: 150
    },
    {
        headerName: '创建时间',
        field: 'createTime',
        width: 150
    },
    {
        headerName: '修改人',
        field: 'updateName',
        width: 150
    },
    {
        headerName: '修改时间',
        field: 'updateTime',
        width: 150
    },
    {
        headerName: '操作',
        field: 'action',
        width: 150,
        cellRenderer: buttionRender1,
        cellRendererParams: {
            buttonList: [
                {
                    type: 'success',
                    text: '修改',
                    typeName: 'el-button',
                    btnPermission: 'xjbzts.xg',
                    show: false,
                    Callback: (data: any) => {
                        return {
                            rowData: data,
                            emitString: 'standard-washing-days-editHandle'
                        }
                    }
                },
            ],
            eltagSize: 0,
        },
    },
]

export default tableColumns